html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit
}

body { 
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.calculator{
    background-color: #1d1e22;
    padding: 2.8rem .64rem .64rem;
    color:white;
    border-radius: .5rem;
    /* box-shadow: 0 .3rem 3rem .1rem rgba(0,0,0,0.6); */
    /* position: relative; */
    min-width: 40rem;
    position: relative;
}
.calculator-bar{
    display: grid;
    grid-template-columns: repeat(3,1.4rem);
    grid-gap:0.5rem;
    
    position: absolute;
    top: .64rem;
    left: .64rem;
}

.calculator-bar>div{
    cursor: pointer;
    border-radius: 100%;
    width: 1.4rem;
    height: 1.4rem;
    text-align: center;
    position: relative;
    /* vertical-align: middle; */
    margin-top: 10px;
    margin-left: 4px;
    font-weight: 900;
    /* justify-content: center;
    align-items: center;
    align-content: center; */
}

.close{background-color:#FC605C}
.minimize{background-color:#FDBC40}
.maximize{background-color: #34C749}

.calculator-display{
height: 80px;
font-size: 5rem;
padding: 0 20px;
color: #fff;
display: flex;
align-items: center;
justify-content: flex-end;
border: 0px solid white;
font-weight: 200;
}

.calculator-keys{display: grid;
grid-template-columns:1fr 1fr 1fr 1fr;
grid-gap: 1.3rem; 
background-color: white;
padding: 1rem;
margin: 1rem;
border-radius: 0.3rem;
}

button{
    height: 60px;
    font-size: 3rem;
border-radius: 3px;
border: 0.1rem solid #c4c4c4;
font-size: 2rem;
color: #333;
background-color: #fff;
background-image: linear-gradient(to bottom,transparent,transparent 50%,rgba(0,0,0,.04));
}
button:hover{background-color: #eaeaea;}


.operator{color: #337cac;background-color: #eee;}

.all-clear{background-color: #FC605C;border: #FC605C;color: white}
.all-clear:hover{background-color: #f17377;}

.equal-sign{background-color: #3DB6EB;border: #3DB6EB;
/* grid-row-start: 2;grid-column-start: 1; */
/* grid-row-end:6; grid-column-end: 2; */
grid-row: 2/span 4;
grid-column: 4 /4;
color: white;
height: 100%;
}
.equal-sign:hover{background-color: #4e9ede;}
